package com.ruoyi.common.core.domain.entity.system;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 船只与订单信息关联对象 boat_order_info
 *
 * @author zjw
 * @date 2023-08-24
 */
public class UserBoatOrderInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 订单所属的用户id。
     */
    @Excel(name = "订单所属的用户id。")
    private Long userId;

    /**
     * 用户联系电话。
     */
    private String userPhone;
    /**
     * 船只id
     */
    private Long boatId;

    /**
     * 船只身份识别码(出厂注册id)
     */
    @Excel(name = "船只身份识别码(出厂注册id)")
    private String boatIdentityId;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    /**
     * 订单类型。0：计时收费订单，1：套餐收费订单，2：拼团订单。
     */
    @Excel(name = "订单类型。0：计时收费订单，1：套餐收费订单，2：拼团订单。")
    private Integer orderType;

    /**
     * 订单状态。0：待付款，1：待使用，2：使用中，3: 已关闭，4：已完成
     */
    @Excel(name = "订单状态。0：待付款，1：待使用，2：使用中，3: 已关闭，4：已完成")
    private Integer orderStatus;

    /**
     * 订单状态文本描述。订单状态。0：待付款，1：待使用，2：使用中，3: 已关闭，4：已完成
     */
    private String orderStatusDesc;

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getOrderStatusDesc() {
        return orderStatusDesc;
    }

    public void setOrderStatusDesc(String orderStatusDesc) {
        this.orderStatusDesc = orderStatusDesc;
    }

    public void setBoatId(Long boatId) {
        this.boatId = boatId;
    }

    public Long getBoatId() {
        return boatId;
    }

    public void setBoatIdentityId(String boatIdentityId) {
        this.boatIdentityId = boatIdentityId;
    }

    public String getBoatIdentityId() {
        return boatIdentityId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("boatId", getBoatId())
                .append("boatIdentityId", getBoatIdentityId())
                .append("orderId", getOrderId())
                .append("orderType", getOrderType())
                .append("orderStatus", getOrderStatus())
                .append("userId", getUserId())
                .toString();
    }
}
